package cz.jprmr.lorn.client;

import java.util.HashMap;
import com.google.gwt.user.client.rpc.IsSerializable;

public class User implements IsSerializable {
	
	private HashMap<String, String> userInfo = new HashMap<String, String>();
	
	public User() {
		userInfo.put("login", "");
		userInfo.put("password", "");
		userInfo.put("name", "");
	}

	public void setLogin(String login) {
		userInfo.put("login", login);
	}
	
	public String getLogin() {
		return userInfo.get("login");
	}

	public void setPassword(String password) {
		userInfo.put("password", password);
	}
	
	public String getPassword() {
		return userInfo.get("password");
	}
	
	public void setName(String name) {
		userInfo.put("name", name);
	}
	
	public String getName() {
		return userInfo.get("name");
	}
}